package com.ztorn.fiscale.mapper;

import java.util.List;
import com.ztorn.fiscale.domain.FiscaleTaxInvoice;

/**
 * 税务发票Mapper接口
 * 
 * @author ztorn
 * @date 2025-01-19
 */
public interface FiscaleTaxInvoiceMapper 
{
    /**
     * 查询税务发票
     * 
     * @param invoiceId 税务发票主键
     * @return 税务发票
     */
    public FiscaleTaxInvoice selectFiscaleTaxInvoiceById(Long invoiceId);

    /**
     * 查询税务发票列表
     * 
     * @param fiscaleTaxInvoice 税务发票
     * @return 税务发票集合
     */
    public List<FiscaleTaxInvoice> selectFiscaleTaxInvoiceList(FiscaleTaxInvoice fiscaleTaxInvoice);

    /**
     * 新增税务发票
     * 
     * @param fiscaleTaxInvoice 税务发票
     * @return 结果
     */
    public int insertFiscaleTaxInvoice(FiscaleTaxInvoice fiscaleTaxInvoice);

    /**
     * 修改税务发票
     * 
     * @param fiscaleTaxInvoice 税务发票
     * @return 结果
     */
    public int updateFiscaleTaxInvoice(FiscaleTaxInvoice fiscaleTaxInvoice);

    /**
     * 删除税务发票
     * 
     * @param invoiceId 税务发票主键
     * @return 结果
     */
    public int deleteFiscaleTaxInvoiceById(Long invoiceId);

    /**
     * 批量删除税务发票
     * 
     * @param invoiceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFiscaleTaxInvoiceByIds(Long[] invoiceIds);
}